package com.baijiaoxi.common.model.excel;

import lombok.Data;

@Data
public class HeaderCellInfo {
    private int headerIndex;//所在列索引
    private String headerTitle;//标题内容
    private String fieldName;//对应的实体字段
    private Object extraData;//列可附加其他信息

    public HeaderCellInfo(int headerIndex, String headerTitle) {
        this.headerIndex = headerIndex;
        this.headerTitle = headerTitle;
    }

    public HeaderCellInfo(int index, String headerTitle, String fieldName) {
        this.headerIndex = index;
        this.headerTitle = headerTitle;
        this.fieldName = fieldName;
    }
}
